package cn.fintecher.pangolin.service.dataimp.request;

import cn.fintecher.pangolin.common.enums.ImportTemplateType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Auther: xiaqun
 * @Description: 对账单导入请求参数
 * @Date: 13:50 2019/10/8
 */

@Data
public class ImportCommonRequest {
    @ApiModelProperty(value = "委托方ID")
    @NotNull(message = "principal.id.is.required")
    private String principalId;

    @ApiModelProperty(value = "模板ID")
    @NotNull(message = "template.id.is.required")
    private String templateId;

    @ApiModelProperty(value = "导入类型")
    private ImportTemplateType type;

    @ApiModelProperty(value = "文件ID")
    @NotNull(message = "file.id.is.required")
    private String fileId;
}
